package com.ucode.tool.tree;

/**
 * 树节点
 * 
 * @date: 2020年5月4日 下午3:06:11
 */
@SuppressWarnings("serial")
public class TreeNode extends BaseNode {
    /**
     * 节点内容
     */
    private Object content;

    public TreeNode(Long id, Long parentId, Object content) {
        this.id = id;
        this.parentId = parentId;
        this.content = content;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

}
